package com.yangyu.mapper;

import com.yangyu.pojo.File;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author
 * @version V1.0
 * @Package com.yangyu.mapper
 * @date 2021/1/17 14:16
 */
@Repository
public interface FileMapper {
    int addFile(@Param("file") File file);

    int deleteFile(@Param("ids")List<Long> ids);
}
